home *** CD-ROM | disk | FTP | other *** search
/ Paparazzi!: Tales of Tinseltown / Paparazzi - Tales of Tinseltown (1995)(Activision)(Disc 1 of 2).iso / pprazia1.dir / 00529_Script_Eagler Payoff < prev    next >
Text File  |  1995-05-21  |  698b  |  29 lines

  1. on exitFrame
  2.   global length, DeadOrNot, snap1, snap2, theMovieName, gtheDay
  3.   if the movieTime of sprite 48 > length then
  4.     put the movietime of sprite 48 into DeadOrNot
  5.     puppetsprite 48, false
  6.     set the movietime of sprite 48 to 0
  7.     set the sound of cast theMovieName to 0
  8.     updatestage
  9.     if DeadOrNot >= 2750 then 
  10.       updatestage
  11.       puppetsound 0
  12.       go frame "YouDied"
  13.       exit
  14.     end if
  15.     if snap1 = 0 and snap2 = 0 then
  16.       updatestage
  17.       puppetsound 0
  18.       go frame gtheDay & "NoShots"
  19.       exit
  20.     else
  21.       updatestage
  22.       puppetsound 0
  23.       go frame "Darkroom"
  24.       exit
  25.     end if
  26.   else
  27.     go to the frame
  28.   end if
  29. end